html, body {height: 100%;}
body {font-family: 'Open Sans', sans-serif;}

article{font-family: 'Lobster', cursive;font-size: 20px;padding-right: 5px;}
p{padding-bottom: 10px;padding-top: 5px;}
section{padding: 10px;background-color: #CCCCCC;}
article::first-letter{
    font-size: 24px;
}
section::first-letter{
    font-size: 20px;
    font-weight: bold;
}
::selection{
    color: #d8e0e2;
    background-color: #1e2327;
}
::-moz-selection{
    color: #d8e0e2;
}
a{
    color: #1e2327;
}
div.container{background: #dce0df;
    width:100%;
    min-height: 100%;
   position: relative;
    overflow: hidden;
    color: #1e2327;
    min-width: 1300px;
}

div.red-line {
    height: 10px;
    background: red;
    position: relative;
    z-index: 2000;}
div.white-line {
    height: 2px;
    background: white;
    position: relative;
    z-index: 2000;}
div.rotate-up{
    background: #44515a;
    position: relative;
    height: 60px;
    padding-top: 36px;
    margin-top: -17px;
    width: 100%;
    z-index: 1000;
}
div.rotate-down{
    background: #44515a;
    position: relative;
    z-index: 1000;
    text-align: center;
    width: 100%;
    z-index: 1000;
    height: 42px;
    padding-top: 20px;
    margin-bottom: -10px;
}
div.backsubmenu{
    z-index: 500;
    display: none;
    height: 106px;
    margin-left: -1px;
    margin-top: -34px;

}
div.submenu{
    display: none;
    z-index: 500;
    background: #1e2327;
    
     height: 50px;
    padding-top:36px;
}
div.wrapper{margin: 0 auto; width: 700px; text-align: center; }

div.rotate-plus{
     -moz-transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
    -o-transform: rotate(1deg);
    transform: rotate(1deg);
}
div.rotate-minus{
      -moz-transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
    -o-transform: rotate(-1deg);
    transform: rotate(-1deg);
}
.copyright{
  -moz-transform: rotate(1deg);
  -webkit-transform: rotate(1deg);
  -o-transform: rotate(1deg);
  transform: rotate(1deg);

}
ul.top-menu{
    margin-left: 40px;
}
ul.top-menu li{
    display: block;
    float:left;
    font-family: arial;
    font-size: 22px;
    line-height:1.4;
    cursor: pointer;
    margin-right: 14px;
    color: #d8e0e2;
    padding: 3px 6px;
    background: url('/images/buttons/button_top.png') no-repeat;
     /*background-size: 100%;*/
    /*-moz-background-size: 100%;*/
    width:99px;
    height:30px;

}
ul.top-menu li:hover, ul.top-menu li.selected{
    /*color: #44515a;*/
     background: url('/images/buttons/button-top-selected.png') no-repeat;
     /*background-size: 100%;*/
    /*-moz-background-size: 100%;*/
    /*background: #dce0df;*/
}
ul.sub-menu{
    margin-left:44px;
}
ul.sub-menu li{
    /*display: inline;*/
    font-family: arial;
    font-size: 21px;
    line-height: 1.8;
    background-image: url('/images/buttons/button_mid2.png');
    /*margin-right: 36px;*/
    color: #d6dcda;
    /*padding: 1px 6px;*/
    /*padding: 4px 20px;*/
    z-index:700;
    width:101px;
    height:37px;
    display:block;
    float:left;
    background-size: 100%;
    -moz-background-size: 100%;
    margin: 2px 5px 3px 1px;
    
}
ul.sub-menu li:hover, ul.sub-menu li.selected{
    cursor: pointer;
    background-image: url('/images/buttons/button_mid2-selected.png');

    /*padding: 7px 29px;*/
    background-size: 100%;
    -moz-background-size: 100%;
    /*color: #1e2327;*/
    /*background: #dae0dc;*/
}
div.content {
    position: relative;
    min-height: 540px;
    z-index: 100;
    padding-top:15px;
    width: 760px;
    /*width: 680px;*/
    margin: 0 auto;
    text-align: center;
    padding-bottom: 61px;
    
}
h1.zagolovok{
    color:#c7141f;
    font-size: 24px;
    /*font-family: arial;*/
    font-family: 'Open Sans', sans-serif;
}
div.text{

    position: relative;
   padding-top: 10px;}
div.left-text,div.right-text{
    width: 330px;
    padding:3px 3px 3px 5px;
    text-align: left;}
div.left-text{float: left;}
div.right-text{margin-left:336px; }
div.main-img{
    position: absolute;
    bottom: 10px;
    left: -300px;
    /*width: 200px;*/
    /*height: 200px;*/
    /*margin-left: -240px;*/
     /*margin-top: 60px;*/
}
div.main-img img {
    width: 342px;
}
div.footer{
position:absolute; /*позиционируем блок абсолютно…*/
bottom:42px; /*…снизу*/
width: 102%; /*устанавливаем ширину футера*/
height:50px; /*устанавливаем высоту футера*/
}
div.bottom{position: relative; z-index: 2000; }
div.fix{background: #DCE0DF; z-index: 1500; height: 22px; position: relative;}

div.content .page{
    margin-left: -9999px;
    opacity: 0;
    position: absolute;
    display: none;
}
div.content .page:first-child{
    margin-left:0;
    opacity: 1;
   display: block;
}
.gears{
    position: absolute;
    right: 290px;
    top: 18px;
}
.line-rotate{z-index: 40; background: #1E2327; height: 11px;position: relative; margin-top: -1px;}
h2.copyright{color:#d8e3e9; font-size: 16px; font-family: Helvetica;}
.otstup{padding-top:15px !important;}
.zabratu{padding-top:0px !important;}


#m_idea{}
#m_plan{font-size: 20px;}
#m_design{font-size: 19px;}
#m_develop{font-size: 19px;}
#m_grow{font-size: 19px;}

.zabor{
    border:1px solid red;
}
.inner_text {
    display: none;
}
.title div, .title img{
    float:left;
}
div.item{
    border-radius: 16px;
    padding: 5px;
}

.zoomy {
    background-color: #000;
    background-color: rgba(0,0,0,0.3);
    border: 0 !important;
    cursor: none;
    visibility: hidden;
    position: absolute;
    z-index: 1120;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.3),                   inset 0px 0px 3px 0px rgba(255,255,255,0.75);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.3),                inset 0px 0px 3px 0px rgba(255,255,255,0.75);
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.3),           inset 0px 0px 3px 0px rgba(255,255,255,0.75);
    -webkit-border-radius: 140px;
    -moz-border-radius: 140px;
    border-radius: 140px;
}

input.main, textarea.main{
    display: block;
    padding: 5px;
    color: #3A434E;
    background: #bfc5c9;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid #3A434E;
    width: 275px;
    padding-left: 40px;
}

input:focus, textarea:focus {
    outline: none;
}
#mail_input{
    background: url(/images/icons/mail.png) no-repeat;
}
#name_input{
    background: url(/images/icons/person.png) no-repeat;
}
#text_input{
    background: url(/images/icons/text.png) no-repeat;
    height: 95px;
}
#ok_button{
    width: 100px;
    padding-left: 0;
    margin-left: 225px;
}
#ok_button:hover{
    background-color: #3A434E;
    color: #bfc5c9;
    cursor: pointer;
}


.simple_contacts img{
    width: 35px;
    float: left;
}
.simple_contacts span{
    line-height: 2;
    margin-left: 7px;
}
.simple_contacts{
    margin-bottom: 10px;
}

.one-edge-shadow {
    -webkit-box-shadow: 0 -6px 6px 0 #1E2327;
    -moz-box-shadow: 0 -6px 6px 0 #1E2327;
    box-shadow: 0 -6px 6px 0 #1E2327;
}


/*################################################################*/
h3 {
margin: 0;
padding: 7px 0 0 0;
font-size: 16px;
text-transform: uppercase;
}
div#feature_list {
			width: 750px;
			height: 240px;
			overflow: hidden;
			position: relative;
		}

		div#feature_list ul {
			position: absolute;
			top: 0;
			list-style: none;
			padding: 0;
			margin: 0;
		}

		ul#tabs {
			left: 0;
			z-index: 2;
			width: 320px;
		}

		ul#tabs li {
			font-size: 12px;
			font-family: Arial;
		}

		ul#tabs li img {
			padding: 5px;
			border: none;
			float: left;
			margin: 10px 10px 0 0;
		}

		ul#tabs li a {
			color: #222;
			text-decoration: none;
			display: block;
			padding: 10px;
			height: 60px;
			outline: none;
		}

		ul#tabs li a:hover {
		text-decoration:none;
			text-decoration: underline;
		}

		ul#tabs li a.current {
			background:  url('/images/feature-tab-current.png');
			color: #FFF;
		}

		ul#tabs li a.current:hover {
			text-decoration: none;
			cursor: default;
		}

		ul#output {
			right: 0;
			width: 463px;
			height: 240px;
			position: relative;
		}

		ul#output li {
			position: absolute;
			width: 463px;
			height: 240px;
		}

		ul#output li a {
			position: absolute;
			bottom: 10px;
			right: 10px;
			padding: 8px 12px;
			text-decoration: none;
			font-size: 11px;
			color: #FFF;
			background: #000;
			-moz-border-radius: 5px;
		}

		ul#output li a:hover {
		text-decoration:none;
			background: #D33431;
		}